package com.tbit.main.dao.log;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tbit.main.pojo.DispatchApplyLog;
import com.tbit.main.pojo.VO.DispatchApplyLogStat;

import java.util.List;
import java.util.Map;

/**
 * 通过运维人员跟状态分组
 *
 * @Author: chen
 * @Description:
 * @Date: 创建于 15:42 2023/2/10
 */
public interface DispatchApplyLogMapper extends BaseMapper<DispatchApplyLog> {

    /**
     * 通过运维人员跟状态分组
     *
     * @param map
     * @return
     */
    List<DispatchApplyLogStat> groupByAccountIdState(Map<String, Object> map);

    /**
     * 新增
     *
     * @param dispatchApplyLog
     */
    void add(DispatchApplyLog dispatchApplyLog);
}
